package com.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author marisheng
 * @since 2019-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UpAndDownLineRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "up_and_down_line_record_id", type = IdType.AUTO)
    private Integer upAndDownLineRecordId;

    /**
     * 上线时间
     */
    private LocalDateTime upLineTime;

    /**
     * 下线时间
     */
    private LocalDateTime downLineTime;

    /**
     * 在线时长
     */
    private Integer onlineDuration;

    /**
     * 终端表外键
     */
    private Integer terminalId;


}
